FROM openjdk:8u275
RUN  mkdir -p /var/app/
COPY target/mqtt-broker-1.0-SNAPSHOT-jar-with-dependencies.jar /var/app/app.jar
COPY ssl/ /var/app/ssl
CMD ["java", "-version"]
WORKDIR /var/app/
ENTRYPOINT ["java", "-jar", "/var/app/app.jar"]